<?php

class obraController extends CController{
    
    public $model_name     = "tenap/obra";
    public $index_view     = "";
    public $model_title    = "";
    //public $category_model = "tenap/segmento";
    public function __construct($vars) {
        parent::__construct($vars);
    }
    
    public function residencias(){
        $this->setMainVars();
        $this->genTags(ucfirst($this->item['titulo']) , $this->item['descricao'], str_replace(" ", " ,", $this->item['titulo']));
        $this->genImageTag($this->item);        
        $this->category($this->item);
        $this->registerVar("item"      , $this->item);
        $this->registerVar("comp_action" , 'residencias');
    	$this->display("admin/auto/areacliente/page");
    }
}

?>
